package CH8;

/**
 * Created by Cai Ye on 2016/4/24.
 */
public class SplitDemo {
    public static void main(String[] args) {
        for (String token : "csv".split("")) {
            System.out.println(token);
        }
        for (String token : "JustinOrzMonicaOrzIrene".split("Orz")) {
            System.out.println(token);
        }
        for (String token : "Justin\tMonica\tIrene".split("\\t")) {
            System.out.println(token);
        }
    }
}
